from django.urls import path

from . import views
from . import views_dash_board
from . import views_person_center

urlpatterns = [
    path('send_valid_code', views.send_valid_code),
    path('register', views.register_account),
    path('login', views.login),
    path('logout', views.logout),
    path('get_account_info', views.get_account_info),
    path('forget_password', views.forget_password),
    path('add_follow', views.add_follow),

    # 首页接口
    path('get_stat_info', views_dash_board.get_stat_info),
    path('get_most_activity_account', views_dash_board.get_most_activity_account),
    path('get_account_list', views_dash_board.get_account_list),


    # 个人中心接口
    path('person_center_stat', views_person_center.person_center_stat),
    path('change_avatar', views_person_center.change_avatar),
    path('get_person_info', views_person_center.get_person_info),
    path('update_account_info', views_person_center.update_account_info),
    path('get_my_topic', views_person_center.get_my_topic),

    path('person/get_my_topic', views_person_center.get_my_topic),
    path('person/get_my_follow_topic', views_person_center.get_my_follow_topic),
    path('person/get_my_follow_account', views_person_center.get_my_follow_account),
    path('person/get_my_fans_account', views_person_center.get_my_fans_account),

    # 活动注册用户接口
    path('activity/reg/account', views.activity_reg_account),
    path('activity/check/reg', views.activity_check_reg),
]